# -*- coding: utf-8 -*-
# @Time    : 2024/8/13 15:42
# @Author  : LinChun
# @Email   : mLinChun@icloud.com
# @File    : menu.py
# @Software: PyCharm
import nuke
import core
import importlib


print("L_Tools version 1.2.0")
menubar = nuke.menu("Nuke")
m = menubar.addMenu("L_Tools")
m.addCommand("修复分层大小写错误", "core.repair_shuffle_name()", "")
m.addCommand("修改序列引用路径", "core.set_read_node_path('')", "")
m.addCommand("修改序列引用为相对路径", "core.set_read_relative_path()", "")
m.addCommand("设置Read节点帧范围", "core.set_all_read_nodes_range()", "")
m.addCommand("添加缺失帧", "core.add_losed_frame()", "")
m.addCommand("快速分层", "core.ql_shuff()", "")
ys_menu = m.addMenu('云深')
ys_menu.addCommand("提交文件", "core.ys_submit()", "")
sk_menu = m.addMenu("深空")
sk_menu.addCommand("提交文件", "core.sk_submit()", "")
dzz_menu = m.addMenu("大主宰")
dzz_menu.addCommand("提交文件", "core.dzz_submit()", "")
dp_menu = m.addMenu("斗破苍穹")
dp_menu.addCommand("提交文件", "core.dp_submit()", "")
m.addCommand("关于", "core.show_message()", "")




